<template>
  <div v-if="showLoading" class="mask">
    <div class="loading-info">
      <div align="center">
        <img  src="@/assets/image/loading.gif">
      </div>
      <div>模型加载中...</div>
    </div>
  </div>
</template>

<script>
export default {
  name: "component_name",
  data () {
    return {
    }
  },
  props: ['showLoading']
}
</script>

<style lang="scss" scoped>
.mask {
  background-color: #ffffff;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.loading-info {
  position: absolute;
  top: 30%;
  left: 40%;
  font-size: 25px;
}
</style>